package com.cmcc.driver.ui.login

import android.os.Bundle
import androidx.databinding.DataBindingUtil
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.cmcc.driver.R
import com.cmcc.driver.config.DriverPath
import com.cmcc.driver.databinding.ActivityLoginBinding
import com.cmcc.driver.ui.base.BasicActivity
import com.cmcc.shared.utils.clickWithTrigger

@Deprecated("NoUsed")
@Route(path = DriverPath.DRIVER_LOGIN)
class LoginActivity : BasicActivity() {
    override fun initialize(savedInstanceState: Bundle?) {
        binding = DataBindingUtil.setContentView(this, R.layout.activity_login)
     //   updateForTheme(Theme.DARK)
        binding.appbar.title.text = "司機端登入"
        binding.appbar.toolbar.setNavigationOnClickListener { finish() }
        binding.forgetPass.clickWithTrigger {
            ARouter.getInstance().build(DriverPath.FORGET_PASS).navigation()
        }
    }

    private lateinit var binding: ActivityLoginBinding
}
